package com.guigu.tms.geteway.feign;

import com.guigu.tms.geteway.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(value = "tms-security",path = "/security/customer")
@FeignClient(name="servlet",url = "127.0.0.1:7078",path = "/security/customer")

public interface CustomerAuthFeignClient {
    @PostMapping("checkAuth")
    Result checkAuth(@RequestParam String token);
}
